home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 002 / pcwrit25.arc / ADDEND25.DOC < prev    next >
Encoding:
Text File  |  1985-07-17  |  11.0 KB  |  249 lines

  1. PC-Write version 2.5 changes:                              March 5, 1985
  2.  
  3. Editor - New Features
  4.  
  5.  1. Merge facility (see enclosed new chapter).
  6.  
  7.  2. Hard-Hyphen (operation 246):  Ctrl \ enters a Hard Hyphen.  It shows 
  8.       as a divide sign (hyphen with two dots) on the screen, and prints 
  9.       as a normal hyphen.  Wordwrap and reformat do not break words at a 
  10.       Hard-Hyphen.  It is treated like an alphabetic character and part 
  11.       of a word, like a Hard-Space.  
  12.  
  13.  3. Accent key (operation 426):  the back-quote key (`, next to Enter) 
  14.       permits entering accented vowels and other special characters.  It 
  15.       acts like a special back-arrow key that "overstrikes" the letter
  16.       below it with an accent, such as overstriking e with ' (or ' with 
  17.       e) to get e with ` accent.  To get a literal ` type a space then ` 
  18.       twice (overstrike ` with space).  Available character pairs are: 
  19.       
  20.          ' and a     ` and a     ^ and a     " and a     " and A
  21.          ' and e     ` and e     ^ and e     " and e     ' and E  
  22.          ' and i     ` and i     ^ and i     " and i     " and y
  23.          ' and o     ` and o     ^ and o     " and o     " and O
  24.          ' and u     ` and u     ^ and u     " and u     " and U
  25.  
  26.          , and c     o and a     ~ and n     _ and a     e and a
  27.          , and C     o and A     ~ and N     _ and o     E and A
  28.  
  29.          / and c  (cents)        ? and ?  (upside-down ?)
  30.          - and L  (Pounds)       ! and !  (upside-down !)
  31.          = and Y  (Yen)          2 and 1  (1/2)
  32.          t and P  (Pt)           4 and 1  (1/4)
  33.          - and f  (Francs)       < and <  ( << )
  34.          blank and ` is `        > and >  ( >> )
  35.                              
  36.  4. Word count key (operation 425):  press Ctrl-K to count total bytes, 
  37.       letters, words, and average letters per word.  A letter is an 
  38.       upper or lower case alphabetic, a digit, an accented letter, a 
  39.       Greek letter, a Hard-Space, or a Hard-Hyphen.  A word is every 
  40.       occurrance of a letter followed by a non-letter.  
  41.  
  42.  5. Although PC-Write still cannot edit files larger than 60 KB, it can 
  43.       now divide large files into pieces.  When you try editing a file 
  44.       that's too big, it asks if you want to edit part of the file or 
  45.       cancel.  If you request part of the file, you enter a byte offset 
  46.       at which to start reading.  PC-Write changes the name of the file 
  47.       to the old name with a new extension, composed of the first two 
  48.       digits of the offset and $.  If you edit FILE.XYZ at offset 12000, 
  49.       the name becomes FILE.12$.  This name change tries to avoid using 
  50.       the same name for different parts of the file, but you should 
  51.       rename the file (with F1 F5) to a more meaningful name.  
  52.  
  53.  6. Dot commands in the editor Ruler file now set the number of lines 
  54.       per page, spacing, and so on for the Repage command (+F1 F2) and 
  55.       location (+F9) command.  
  56.  
  57.  7. %W in the Ruler file removes high-order bits from files, providing 
  58.       the ability to read Wordstar files.  If you know of additional 
  59.       ways to translate Wordstar to PC-Write format, let me know.  
  60.  
  61.  8. %V in the Ruler file should speed up scrolling by line on the 
  62.       "compatible" computers which trap direct video access, such as the 
  63.       Attache, Epson Plus, and Morrow/Osborne Pivot.  
  64.  
  65.  9. %C in the Ruler file has no effect on an IBM monochrome display 
  66.       adapter.  It only turns on colors if you are using a color 
  67.       graphics display adapter (or a PCjr).  If you have both displays, 
  68.       use %B and %C lines to switch to the color monitor.  
  69.  
  70. Editor - Minor Changes
  71.  
  72.  1. In Pushright mode, the Scroll Lock light on the PC/AT keyboard is 
  73.       OFF;  in Overwrite, it is ON.  So if the red light's on, you can 
  74.       type over text.  Also, ED.EXE turns Scroll Lock off by default, 
  75.       which Lotus users and others seem to prefer.  
  76.  
  77.  2. When you press F2 to edit the Ruler line, PC-Write changes to 
  78.       Overwrite mode.  When you leave the Ruler line, it goes back to 
  79.       whatever mode you were in before.  
  80.  
  81.  3. When ED edits a file on a specific drive, for example D:filenm.XYZ, 
  82.       it now looks for RULER files in the following order: 
  83.          1. D:RULER.XYZ
  84.          2. RULER.XYZ
  85.          3. RULER.DEF
  86.       You can keep a Ruler file on the same diskette as the file it 
  87.       applies to, or on your default drive.  It does not look for 
  88.       D:RULER.DEF (a default Ruler file would be on the default drive 
  89.       anyway and looking for files takes time).  Each of these attempts 
  90.       to find a Ruler file searches all available PATH's.  Do we need a 
  91.       command line switch (it cannot be a Ruler file switch) to avoid 
  92.       looking for some of these Ruler files?  
  93.  
  94.  4. When reading a Ruler line from a Ruler file, all but the final 
  95.       capital margin L, P, B, R get converted to lower case.  
  96.  
  97.  5. In NUMBERS mode, the first key typed enters its KEY number.  All 
  98.       other keys typed enter OPERATION numbers currently assigned to the
  99.       key.  This makes NUMBERS mode work better defining key sequences.  
  100.  
  101.  6. In a Ruler file key definition line, you can use " or ' to enclose 
  102.       text, such as A: "Alpha".  
  103.  
  104. New Dot Commands
  105.  
  106.  1. We finally ran out of good single letter dot commands.  We are 
  107.       CHANGING some of the existing dot commands to allow for new 
  108.       present and future commands.  The changes are: 
  109.  
  110.       old .J (all pages extra margin)     to .X
  111.       old .K (right pages extra margin)   to .XR
  112.       old .G (right page footer)          to .FR
  113.       old .I (right page header)          to .HR
  114.       old .V (vertical extra margin)      to .XT
  115.       old .B (bottom extra margin)        to .XB
  116.       old .X (header/footer extra margin) to .XH (header) .XF (footer)
  117.  
  118.       New dot commands:
  119.  
  120.       new .FL  footer for left pages only
  121.       new .FR  footer for right pages only
  122.       new .HL  header for left pages only
  123.       new .HR  header for right pages only
  124.       new .XL  extra margin for left pages only
  125.       new .XR  extra margin for right pages only
  126.       new .I   Index entry (see below)
  127.       new .IF  Index filename
  128.       new .IW  Index entry minimum width
  129.       new .IX  Index entry leading symbol space
  130.  
  131.  2. A dot followed by a digit is no longer considered a dot command.  
  132.  
  133.  3. Do not put a dot command on the same line as a page break.
  134.  
  135. Page Printer - New Features
  136.  
  137.  1. You can make indexes, tables of contents, lists of figures, etc.
  138.       First include an initial .IF command (example: .IF:index.out) to 
  139.       indicate a file to store Index entries.  If you do not include the 
  140.       IF command, then the .I commands themselves are ignored, so you 
  141.       can print drafts without always making an Index file.  
  142.  
  143.     Next, include a .I commands for every entry.  A simple .I command, 
  144.       such as ".I:word", puts a line into the Index file with "word" 
  145.       followed by the page number.  When the page printer has finished, 
  146.       sort this file using the DOS SORT command.  Then edit the Index 
  147.       file to the style you like.  PC-Write does only the most essential 
  148.       part:  making the file of words and page numbers.  
  149.  
  150.     For example (all examples here do not include the leading dot):
  151.  
  152.        I:headhunters
  153.        I:jungle law
  154.        I:jungle lawyers
  155.  
  156.     These commands produce the following Index file entries:
  157.  
  158.        headhunters                        12
  159.        jungle law                        117
  160.        jungle lawyers                      2
  161.  
  162.     The page number goes flush right on the line.  The .IW:n command 
  163.       sets the total width of the line.  The default width is 24.  
  164.  
  165.     There are several special features of Index entries:
  166.  
  167.       1. Index terms starting with non-alphabet symbols are alphabetized 
  168.          by their first real letter.  Up to three non-alphabetic symbols 
  169.          in front of an index term can be handled, and up to three 
  170.          blanks go in front of every index term (the .IX:n command sets 
  171.          this from three to any number).  For example, these Index 
  172.          entries: 
  173.  
  174.          I:///flags
  175.          I:*home key
  176.          I:@@macros
  177.          I:line bounds
  178.  
  179.          produce these Index file lines:
  180.       
  181.          ///flags
  182.            *home key
  183.           @@macros
  184.             line bounds
  185.  
  186.       2. Example of using the DOS SORT command:
  187.  
  188.          A>SORT /+4 <INDEX.OUT  >INDEX.SRT
  189.  
  190.          This sorts the file INDEX.OUT to the file INDEX.SRT, starting 
  191.          at column 4 (columns 1, 2, and 3 contain special symbols).  The 
  192.          SORT command sorts upper case before lower case, so make all 
  193.          your entries lower case (put a symbol like * before entries to 
  194.          be manually converted back to upper case after sorting).
  195.  
  196.       3. You can use this process to make several lists:  a table of 
  197.          contents, index, figure list, etc.  To do this, flag every 
  198.          entry for (say) the table of contents with a TC/, for the 
  199.          figure list with a F/, and so on: 
  200.  
  201.          I: TC/Birds of a feather
  202.          I: F/One good tern deserves another
  203.          I: index terns
  204.       
  205.          When the page printer processes these, it moves the slash to 
  206.          the beginning and adds one or two spaces to line up the entry: 
  207.  
  208.          /TC Birds of a feather                3
  209.          /F  One good tern deserves another  117
  210.          index terns                          22
  211.  
  212.          Now the SORT command sorts all the / lines first.  You'll have 
  213.          to edit the sorted file, extracting the / lines to a different
  214.          file.  Then sort this new file on the page number column.  
  215.  
  216.       4. You may want some entries emphasized.  All font characters 
  217.          surrounding the index item get moved over to the page number.  
  218.          For example, pretending @ and | were font characters: 
  219.  
  220.          I:@footers@
  221.          I:@|headers
  222.  
  223.          gets changed into:
  224.  
  225.          footers                             @17@
  226.          headers                            @|36|@
  227.  
  228.          Note that in the second line, matching ending font characters 
  229.          were inserted automatically after the page number.  
  230.  
  231.  2. New commands in RULER.PRT:
  232.  
  233.       $V=n,n,n,...   end of line sequence (default 10,13)
  234.       $J=n,n,n,...   end of all (or left) page sequence (default 12)
  235.       $K=n,n,n,...   end of right page (only) sequence (default 12)
  236.       $R             no form feed (or other sequence) for LAST page
  237.  
  238.  3. When you request skipping a page (the F3 response), the page printer 
  239.       prompts for a page number to skip to.  
  240.  
  241.  4. Trailing blanks get trimmed automatically.  If you create forms with 
  242.       underlined spaces, make sure there's an end underline font at the 
  243.       end of each line to avoid trimming those spaces.  
  244.  
  245.  5. The P code (wheel change) in RULER.PRT files works now.
  246.  
  247.  6. Maximum line length has been increased to 253 characters.
  248.